package com.nt.oam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nt.common.annotation.Excel;
import com.nt.common.core.domain.BaseEntity;

/**
 * 硬件资产对象 ant_hardware_asset
 *
 * @author JZFeng
 * @date 2025-02-05
 */
@TableName(resultMap = "com.nt.oam.mapper.AntHardwareAssetMapper.AntHardwareAssetResult" )
public class AntHardwareAsset extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 硬件资产信息
     */
    @TableId(value = "hardware_asset_id" , type = IdType.AUTO)
    private Long hardwareAssetId;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 资产id
     */
    private Long assetId;

    /**
     * 医院名称
     */
    @Excel(name = "医院名称" )
    private String hospitalName;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称" )
    private String projectName;

    /**
     * 资产名称
     */
    @Excel(name = "资产名称" )
    private String assetName;

    /**
     * 硬件名称
     */
    @Excel(name = "硬件名称" )
    private String hardwareName;

    /**
     * 型号
     */
    @Excel(name = "型号" )
    private String modelNumber;

    /**
     * 序列号
     */
    @Excel(name = "序列号" )
    private String serialNumber;

    /**
     * 详情信息
     */
    private String detailedMessage;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 是否正在修改, 0-不在修改， 1-正在修改
     */
    private Integer isModify;

    public void setHardwareAssetId(Long hardwareAssetId) {
        this.hardwareAssetId = hardwareAssetId;
    }

    public Long getHardwareAssetId() {
        return hardwareAssetId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setAssetId(Long assetId) {
        this.assetId = assetId;
    }

    public Long getAssetId() {
        return assetId;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setHardwareName(String hardwareName) {
        this.hardwareName = hardwareName;
    }

    public String getHardwareName() {
        return hardwareName;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setDetailedMessage(String detailedMessage) {
        this.detailedMessage = detailedMessage;
    }

    public String getDetailedMessage() {
        return detailedMessage;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsModify(Integer isModify) {
        this.isModify = isModify;
    }

    public Integer getIsModify() {
        return isModify;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("hardwareAssetId" , getHardwareAssetId())
                .append("hospitalId" , getHospitalId())
                .append("projectId" , getProjectId())
                .append("assetId" , getAssetId())
                .append("hospitalName" , getHospitalName())
                .append("projectName" , getProjectName())
                .append("assetName" , getAssetName())
                .append("hardwareName" , getHardwareName())
                .append("modelNumber" , getModelNumber())
                .append("serialNumber" , getSerialNumber())
                .append("detailedMessage" , getDetailedMessage())
                .append("createTime" , getCreateTime())
                .append("createPerson" , getCreatePerson())
                .append("updateTime" , getUpdateTime())
                .append("updatePerson" , getUpdatePerson())
                .append("isDeleted" , getIsDeleted())
                .append("isModify" , getIsModify())
                .toString();
    }
}
